package com.ticket.sass.admin.business;


import com.ticket.sass.admin.dto.input.admin.*;
import com.ticket.sass.admin.dto.output.admin.AdminInfoOutput;
import com.ticket.sass.admin.dto.output.admin.AdminListOutput;
import com.ticket.sass.admin.model.PageModel;
import com.ticket.sass.admin.model.TokenModel;

/**
 * @author ywb
 * @date 2021-11-25 18:16
 */
public interface AdminBusiness {
    PageModel<AdminListOutput> list(AdminListInput input);

    void add(AdminAddInput input);

    void upd(AdminUpdInput input);

    TokenModel login(AdminLoginInput input);
    
    AdminInfoOutput info();
    
    void updPassword(AdminUpdPasswordInput input);
}
